package com.teamall.web.app.controller;

import com.teamall.web.base.vo.ResResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * ${DESCRIPTION}
 *
 * @author
 * @create 2017-07-03 23:43
 **/
@Controller
@RequestMapping("/app/upd")
public class AppImgController {
    @RequestMapping("/updImg")
    @ResponseBody
    public ResResult updImg(String photoData) {
        ResResult resResult = new ResResult();
        Map<String, Integer> resultMap = new HashMap<String, Integer>();
        resultMap.put("photoId", 1);
        resResult.setRspData(resultMap);
        return resResult;
    }
}
